package website.lucaswork.survey.core.hessian;

import com.caucho.hessian.io.AbstractDeserializer;
import com.caucho.hessian.io.AbstractHessianInput;

import java.io.IOException;
import java.time.LocalDate;

public class LocalDateDeserializer extends AbstractDeserializer{
    @Override
    public Object readObject(AbstractHessianInput in) throws IOException {
        return LocalDate.of(in.readInt(), in.readInt(), in.readInt());
    }
}
